package com.rc.saas.mini.mapper.member;

import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.model.member.MemberAccount;
import com.rc.saas.mini.model.member.MemberAccountExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


public interface MemberAccountMapper extends BaseMapper<Long, MemberAccount, MemberAccountExample> {
    void updateMemberAccountByMemberId(MemberAccount memberAccount);

    int updateMemberAccountByLock(MemberAccount updateMemberAccount);

    List<MemberAccount> listPayByTime(@Param("memberId") Long memberId, @Param("beginTime")Date beginTime,@Param("endTime") Date endTime);
}